docs: Remove '\' escape character from literals
authorVolker Sobek <reklov@live.com>
Fri, 28 Mar 2014 20:55:03 +0000 (21:55 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 4 Apr 2014 05:24:35 +0000 (01:24 -0400)
commit 7f6a964c47ad2f9dcf6a00044d938840ce8f01f2 replaced entities, but
escaped the replacement text also inside literals, which resulted in the
escaping '\' to also appear in the documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=727322

gdk/gdkcolor.c
gtk/gtkaboutdialog.c
gtk/gtkcssprovider.c
gtk/gtksettings.c
gtk/gtkshow.c

index 92c88f5d6c0da1619a2b29e7655139337fb4e37d..4b8527b7b23a1e20c62e994e4ef04b2d82f33a90 100644 (file)
@@ -163,7 +163,7 @@ gdk_color_parse (const gchar *spec,
  * @color: a #GdkColor
  *
  * Returns a textual specification of @color in the hexadecimal
- * form `\#rrrrggggbbbb`, where `r`, `g` and `b` are hex digits
+ * form `#rrrrggggbbbb`, where `r`, `g` and `b` are hex digits
  * representing the red, green and blue components respectively.
  *
  * The returned string can be parsed by gdk_color_parse().
index 2c6c9e5388160513af001bec4fc3747ae54fd865..d2a56b6ed4b4ce102539c75b56a171fa1687cd98 100644 (file)
@@ -79,7 +79,7 @@
  * use the function gtk_show_about_dialog() which constructs and shows a dialog
  * and keeps it around so that it can be shown again.
  *
- * Note that GTK+ sets a default title of `_("About \%s")` on the dialog
+ * Note that GTK+ sets a default title of `_("About %s")` on the dialog
  * window (where \%s is replaced by the name of the application, but in
  * order to ensure proper translation of the title, applications should
  * set the title property explicitly when constructing a GtkAboutDialog,
index c0c8f852c244fcd29e1bbbf2b7af365f872104d8..242f1b932721c8c757f20f62efb708a54e26aff6 100644 (file)
  * various ways:
  * - To require that a widget satisfies several conditions,
  *   combine several selectors into one by concatenating them. E.g.
- *   `GtkButton\#button1` matches a GtkButton widget
+ *   `GtkButton#button1` matches a GtkButton widget
  *   with the name button1.
  * - To only match a widget when it occurs inside some other
  *   widget, write the two selectors after each other, separated by whitespace.
index 5c834ef4b60c283a598a4d53909a4810c1053ba9..c5d5e5165f0be8bd9d4668df60d33386907841c7 100644 (file)
@@ -979,8 +979,8 @@ gtk_settings_class_init (GtkSettingsClass *class)
    * GtkSettings:gtk-print-preview-command:
    *
    * A command to run for displaying the print preview. The command
-   * should contain a `\%f` placeholder, which will get replaced by
-   * the path to the pdf file. The command may also contain a `\%s`
+   * should contain a `%f` placeholder, which will get replaced by
+   * the path to the pdf file. The command may also contain a `%s`
    * placeholder, which will get replaced by the path to a file
    * containing the print settings in the format produced by
    * gtk_print_settings_to_file().
index 34ae80fa79e8b15f6b79f72837db528d9731412a..39ac0b8673bc022b8f5c3d0aceced0eda8d52b78 100644 (file)
@@ -39,7 +39,7 @@
  * Typical examples are
  * - `file:///home/gnome/pict.jpg`
  * - `http://www.gnome.org`
- * - `mailto:me\@gnome.org`
+ * - `mailto:me@gnome.org`
  * Ideally the timestamp is taken from the event triggering
  * the gtk_show_uri() call. If timestamp is not known you can take
  * %GDK_CURRENT_TIME.